@import './variables.scss';
// cover some element-ui styles

.el-tree .el-tree-node__content {
  height: 40px;
}

/*表格text 按钮*/
.el-table{
  .el-button--text{
    padding:0;
  }
}
/*按钮*/
.el-button.is-round {
  border-radius: 10px;
}
.el-button--primary:hover {
  background-color: $primary;
  border-color: $primary;
}

.el-button--primary:focus {
  background-color:#ffb72f;
  border-color: #ffb72f;
}

.el-button--primary.is-plain {
  background: #FFFFFF;
  border-color: #ffb72f;
}

.el-button--primary.is-plain:hover {
  background-color: #F2F6Fc;
  border-color: #2A70F2;
  color: #2A70F2
}

.el-button--primary.is-plain:focus {
  background-color: #94B7F8;
  border-color: #2A70F2;
  color: #FFFFFF;
}

/*tab*/
.el-tabs__active-bar {
  height: 4px;
  border-radius: 2px;
}

/*表单输入框*/
.el-form-item .el-textarea,.el-input .el-input__count {
  line-height: 1;
}

/*upload*/
.el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.el-upload:hover {
  border-color: $primary;
}


.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  .el-dialog__header{
    margin: 0 10px;
    font-weight: bold;
    border-bottom: 1px solid #EBEEF5;
  }
}

// refine element ui upload
.app-upload-container {
  .el-upload {
    //width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}


/* 多选单选label可点击 */
.el-cascader-panel .el-radio {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  z-index: 10;
  line-height: 34px;
  right: 0;
  position: absolute;
}
